<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Macro Definitions - ClueLib</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script></head><body class="FramedContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.52 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Macro_Definitions"></a>Macro Definitions</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Macro_Definitions" >Macro Definitions</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Macros" >Macros</a></td><td class=SDescription></td></tr><tr class="SMacro SIndent2 SMarked"><td class=SEntry><a href="#CL_USE_DPI_C" >CL_USE_DPI_C</a></td><td class=SDescription>If defined, some functions are delegated to C functions via DPI-C. </td></tr><tr class="SMacro SIndent2"><td class=SEntry><a href="#Simulator_Selection" >Simulator Selection</a></td><td class=SDescription>These macros enable a set of <a href="#Supported_Features" class=LMacro id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Supported Features</a> based on the selected simulator. </td></tr><tr class="SMacro SIndent2 SMarked"><td class=SEntry><a href="#Supported_Features" >Supported Features</a></td><td class=SDescription>These macros enable an individual feature of a simulator.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Macros"></a>Macros</h3></div></div>

<div class="CMacro"><div class=CTopic><h3 class=CTitle><a name="CL_USE_DPI_C"></a>CL_USE_DPI_C</h3><div class=CBody><p>If defined, some functions are delegated to C functions via DPI-C.&nbsp; If not defined, only SystemVerilog is used.&nbsp; This macro is <b>not defined</b> by default.</p></div></div></div>

<div class="CMacro"><div class=CTopic><h3 class=CTitle><a name="Simulator_Selection"></a>Simulator Selection</h3><div class=CBody><p>These macros enable a set of <a href="#Supported_Features" class=LMacro id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">Supported Features</a> based on the selected simulator.&nbsp; Only one simulator should be enabled at one time.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="CL_USE_INCISIVE"></a>CL_USE_INCISIVE</td><td class=CDLDescription>Use Incisive Enterpirse Simulator from Cadence Design Systems.</td></tr><tr><td class=CDLEntry><a name="CL_USE_MODELSIM"></a>CL_USE_MODELSIM</td><td class=CDLDescription>Use ModelSim from Mentor Graphics.</td></tr><tr><td class=CDLEntry><a name="CL_USE_QUESTA"></a>CL_USE_QUESTA</td><td class=CDLDescription>Use Questa from Mentor Graphics.</td></tr><tr><td class=CDLEntry><a name="CL_USE_VCS"></a>CL_USE_VCS</td><td class=CDLDescription>Use VCS from Synopsys.</td></tr></table></div></div></div>

<div class="CMacro"><div class=CTopic><h3 class=CTitle><a name="Supported_Features"></a>Supported Features</h3><div class=CBody><p>These macros enable an individual feature of a simulator.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="CL_SUPPORT_COUNTBITS"></a>CL_SUPPORT_COUNTBITS</td><td class=CDLDescription>If defiend, <b>$countbits</b> bit vector system function is used.&nbsp; See Section 20.9 of IEEE 1800-2012.</td></tr><tr><td class=CDLEntry><a name="CL_SUPPORT_COUNTONES"></a>CL_SUPPORT_COUNTONES</td><td class=CDLDescription>If defiend, <b>$countones</b> bit vector system function is used.&nbsp; See Section 20.9 of IEEE 1800-2012.</td></tr><tr><td class=CDLEntry><a name="CL_SUPPORT_FATAL_SEVERITY_TASK"></a>CL_SUPPORT_FATAL_SEVERITY_TASK</td><td class=CDLDescription>If defined, <b>$fatal</b> elaboration system task is used.&nbsp; See Section 20.11 of IEEE 1800-2012.</td></tr><tr><td class=CDLEntry><a name="CL_SUPPORT_PARAMETERIZED_NESTED_CLASS"></a>CL_SUPPORT_PARAMETERIZED_NESTED_CLASS</td><td class=CDLDescription>If defined, a parameterized nested class is used.&nbsp; See Section 8.25 of IEEE 1800-2012.</td></tr><tr><td class=CDLEntry><a name="CL_SUPPORT_POP_FROM_AN_EMPTY_QUEUE"></a>CL_SUPPORT_POP_FROM_AN_EMPTY_QUEUE</td><td class=CDLDescription>If defined, a pop from an empty queue is supported.&nbsp; See Section 7.10.2.4 and 7.10.2.5 of IEEE 1800-2012.</td></tr><tr><td class=CDLEntry><a name="CL_SUPPORT_RANDOMIZE"></a>CL_SUPPORT_RANDOMIZE</td><td class=CDLDescription>If defined, constrained random value generation is supported.&nbsp; See Section 18 of IEEE 1800-2012.</td></tr></table></div></div></div>

</div><!--Content-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CMacro>These macros enable an individual feature of a simulator.</div></div><!--END_ND_TOOLTIPS-->

<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>